Part 4: updated protocol to save origin and scale