Added flag to check for "()"