removed console.logs, comments, extra spaces