gsl helper function