interface randomvariable