removed console.logs, comments significantly