added better handling for unknown commands