object writing