added some nice methods