removed console.log; cleanups