done: parsing select command