added regression functionalized