Added a skeleton for the write task