Array Encoding Technique