Finally got the code to pass the test
Methods class compiled correctly