migrating the underground example to jpc.examples