added selection statements