completed exercise to make all tests pass. need to write own tests and methods now