reading in user commands