Export another function and stop throwing an error

Hi, please consider these changes. Thank you so much for your work!