making functions friendlier for use in child theme scenarios