added method of delete