removed unneeded messagebox