adapted diagram