improved for comparison capacity