added command parser