I have tried varied syntax so I will attach several versions of the lines with the function call and the errors that occur during compilation are written on the right