cleaned up CQCUtilities (more to be done)