added the laplacian method