cleaned up CQCUtilities a bit