we have error handling and logging now.