Added delete daily function