Added last section 'Array Function' and the last return. Codes working.