Error handling implemented.