WIP: refactoring TPositions