refactoring LR1Item