Moved generation into the brot class