Removed unneeded if statement