renamed utility functions to resolve namespace conflicts