for some reason the function is not exported