add copyrights and comments