reduce the selector