finished dataset creation method