why not set proper default values for the last 2 parameters instead of passing magic 'null's?