got rid of ambiguous match. passed all tests