closure function of lr1