added some helpers