Added functionality modificate works and avoid repeat works.