take out console.log statements and general formatting