finish write feature