added setter and getter for the command