Removed redundant code to initialize array.