write cell - first version