removing function overloading to allow compilation with gfortran-4.4