build up some util tools