Using a main() function is a bit cleaner