constructing the command messages starting to work