added cannonball nested class.