renamed final diagram