changed type naming conventions from Array to Slice to better reflect their equivalence to standard Go types