added license. fixes #1