add reverse method for this linklist
update transaction programmatic style