string to function
timing modified
beta1