rewriteen by using pox