implementing learn_language