added a couple convenience extensions