adding some utilities