removed warnings
added copyrights