Exercise B solved