commands method

may need to be moved to run method