modified method stubs to make test pass