fix ReadAll
new interfaces
unfinished