rename sentinel's done member fun to equal