added a section about error handling