fixed return error

array#push returns the length of the array not the array
we needed the array back