added so so rewrite method
added so so rewrite method