rewriting done for same coefficient