calling a user defined callback for evaluation of parameters