A couple of utilities