i solved the problem but i wont understand the part how the all elements stored in the beginning of list changed for displaying those in reverse order from begin to end. please explain if you know! thanks in advance!