Added arrays creating and declaring code