moved interpolate() method from SkillsController to Util