removes console statements
full test coverage