using lazylist as a library