Removed unnecessary alert statement