moved delete to after were done with it