changed header code