added cubepos to position