It looks like this function is a private helper, so it should be made private?