selection property working