new method to remove data
ifdef omp and hopefully compile error