[WIP] read container function