added compare diagram