added get functions for Goodness function. Not sure if best way.