typo fixed, tests passing