added seed method and dataset