Added few scalar functions