added selection first phase
added selection first phase