changed shift to origin