making main the main function again