before end