setOrigin implemented