added serch persion class and modified Selection class