Marten's PLL working