remove the space after the function keyword. It make it look like the function owns its param list.