added the trapeziod diagram