write sector