breaks down the commands