small changes, additional printing in sending, return-sending of command