prepare data - step 1