added LR.java