added license
fixed comments