added the commands to a dictionary