Changed name of main to better represent what it is