Main returns 0 at the end to shut up compiler