small refactoring of positions