troubleshooting issue with gatheringpoint returning undefined, seems to be called during findduration function