function "derivParam" added