Refined by following handout, pass simple cy 11