gen mode setSeed and view are working