functions are now calculated according to text and using dataobjects from testcases