Adding complex read write of data