command method almost done, one todo remaining and test todo