Unessessary work done twice