Case 3 working for the first time since I started this coding nightmare