replaced headers with pragma marks