Putting main at the top level