removed an unneeded comparison