added exception handling / msgboxes / notifications