Changed layout, added error checking, and gave a default loadout