added getters, started modifying the method named calculateForNextOrderingPosition