finally got set_data right.