delete logic
delete logic