added delete with time limit