saving work before trying willy's way of just changing the learn function