added util class & test suite