some utilities added.