changed more header functions