adding a %learn command