removing unused utility function