MUST FIX getGdcOrFactorsOrQuit... make it functional. Added code to
previously mentioned method