Rename temp to Main