Work and potential difference