Removed unneeded if