prepare data - step 2