Model checking and model improvement