minor text updates, code style updates