added diagram and new sections