Sub classing the array