added license and modified tutorial