Trying to make 'learn' work again. Under implementation.