removed comments and console.log