code rework