Shumar learning impulse control