added license + minor changes