removed redundant code from CQCUtilities