write a util