trying to recreate range and bearing dist bug but have been unsuccessful so far.