adding learning stuff