Very basic error handling implemented