added license
formatting and whitespace