some refactoring. added show methods for MCMChain.