Fix bugs by making main() not a function