minor changes, begin adding processCommand