changing input/output to use more references