first 3 tests passing, typo fixes