util class and tools