target selection function
Merge pull request #2 from rystoli/master

target selection function