rename direction to command for assignment