removed pointless comparison