implemented LocationSaver class