wait final at the end