remove unused utility function