Added Random base class