removed rewriting first time