looks like this function is not needed