allow space before parentheses in main method search