working on mapping functions for GSReg