providing proper modes while writing paxos data