Add Write & Read functions