added basic g-obj convertor