added license and copyright