added learning proc