for learning node