added license + improvments