assigns commands