Adding diagram