added deepcopies back in