add some utilities