removed puts check