Input order is reflected in output