Is this function used in the OQ-engine anymore? If not, you may remove it.