clean up code formatting, English grammar