add command and direction here