sendCommand functions now actually send commands