translate positions