adapting mapping functions for GSReg package