complete write