added lr and started ll implementation