added delete_hours functionality.