add lr and lr_demo