Works up to the example. Some questionmarks exist