added date field to look up previous and current attendances