added license info
added logging