compiler passes all tests