Anonymous class puzzler