functions for happenings cache