trying to fix syntax error