Added Finalstageresult and some code