Removed unneeded function from MessageBox