Renaming stage finished function