there should be a space between 'if' and (
same goes for 'for'