added function to remove future