random inherits from BaseClass_Function