help with an intriguing problem