add some brackets to avoid errors caused by priority errors