Refining code for frinedly-url learning path