function parameters are not optional the way stored procedures are. All values must be passed, or the default placehodler must be used in it's place
you have to use the default keyword if you wnat to skip the value:
not allowed:
SELECT * FROM new_function ()
the way the default value must be called instead:
SELECT * FROM new_function (default)
SELECT * FROM new_function ('MISSED')
Lowell