a couple of convenience methods