gendata finished; add playdat for test.