Successfully writes output