remove unneeded helper function