working on proton with gsl