main() now returns a relevant code.