Add outwrite rutin