removed print from sendcommand