add write operation