#1 more possibilities in getting previous and next elements