changed eInt to oInt in intermediate_output because it makes more sense