add useful method to Util