bugfix
Random interface, abstract generator