Adding writeNextCluster