removed unneeded check