some prime helpers