add exception handling for harvest