Updated getGoodness to reflect the current state of refactoring.