before complete