add living and dead code, which is about optimization