added license and second example