point delete algorithm added