starting to extract PML loop contents