Add some utilities
Change util.erl