fixed formatting, added license header