In-memory Final Version