added some convenient methods