delegated a couple of functions and changes the Array.new code