first bits for case study 5