is there a comma missing before the if?