made lqr working