added comments and box class