add interpolateLongitude method