Added encoding of input arrays