refactoring assesspositions