Commit n°1 - Good main loop