moved commands into their own methods