Removing puts and console.logs