for learing engine.