Changed diagram1