added license header and attribution