Added methods for analysing position