rename and refactor the Laplace method