added routine to tidy old data away