add macro to extract WPol numbers