code review of util package