[WIP] Use in memory state