This function isn't private since it is exported