working on debugging Ordered list.