add send_command() method