allow empty params for callback function