basic command parsing