added diagram type