removing puts and console logs