you using this with MAC as well, rename "iv"->"appendValue"