finished classto simulate TMVN