Attempting to fix syntax error