parse commands once, needs to include repitition