Added example of using the potential method.