x_val can be not a func
x_vars can not set to be a object