added selection listner