commit the anonymous class example code