added license and copyright header