Just random functions needed for a WP magazine.