added selection routine