adding diagram image