Make the function public, as it is used in the backend