trywrite