Export the right function