Second pull request

TODO: pass arguments to getStatus