refactored console out of method names.