added some formatting, reorganized diagram