restructured and edited
minor edits