added generic functions for addAttendee removeAttendee numAttendees