added some missing parens