fixed main to reflect proper Nimrod style guides