add messagebox to give user feedback