wait for the end in Models