A simple example for hg and hc.