added params for registerdaysevents