added some convenience methods