adding attending check