added selection struct to types