added clean up for unneeded interim data frames