added code from turf core