added pop up/error handler