reviewed - deleted some space and a test method