removed unneeded comparison