adds license, fixes #3