removed puts code