put util functions in Util class