Shouldn't this function be private?