example in RHmm