This function seems unused, how about removing it?