#472 Corrected various indentation
#472 Moved contents of addVarious to the main method
#472 Added docblocks
#472 Indentation for arrays is now consistent: indented for readability not for each method.