Changed all the E's and I's to input_data and output_data for generality and clarity