added trapezium module