Add support for select
Merge pull request #4 from meducation/select

Add support for select