a function cannot have an optional parameter followed by a mandatory param