using only one method and make the test pass