adding global error handling/messaging