now with "try except" which cathes errors and creates a popup to display the error to the user