Added all code related with the final phase