added utility library to hold utility functions that I had to implement myself