make function compatible with black baud cms