refactored readcommand naming