Fix ex7 to the point where it starts to represent something that works