added previous and next value