some initial select handle implenemtation