added command error handling, channels