parsing select command: not done