removed puts statements from class