Finished ex48

And there is still a minor error.