edit header comments
update function copyrights