revised LR example