case study 2 – gateway detailed_2