prepare data for run