removed extra parentheses around function