Added Util class for utility functions