replaced shitty array class with vastly supperior array class