date and time check implemented. remove_expire_events added but have to debug