prepare so we can use both loadstone and gpx (W.I.P.)