return select res and notes