getSelect method