fixed typos, passing all tests