utility callback to help determine the parameters in poorly documented libraries