writing_data and select sections