added docs and copyrights