Putting main back in