memory keeping

1 tutorial tagged memory keeping.