replace class Zeros with Generate