CLN: account for # and i in output