working example
added license