Added programmatic selelction.