removed console.logs and test coverage