added selection operator