Updated parameters. Added optional syntax, and fixed name of one of the parameters.