added seed counter