changes made for select

Please take changes as you need.