add comment concerning error handling