recorded happenings and made check end poin function