added diagram figures