add attendace business logic