add some old trivial code.