Seems you don't need this function at all.