handle this funny named anonymous classes