he 'd been to a great many funerals in inverness presided over by the reverend , and was well aware that the paying customers considered such an event a dismal failure unless the preaching went on for at least half an hour .