Why do we need to replace twice?