Divide add_data to multiple methods