add on finish event