updated tolearn with a few notes