array needs to be decoded