start of command parsing