Export the functions