passing derivative deffinition to callback (usefull for single callback handling many derivatives)