make function usable across the sites.