delete logic added