setter will write to @doc
add simple delete method