Adding GetSections/KeysArray functions for loops