Updated Function_sample in testbranch