fixed a license, made small syntatic changes
formatting