Working software PLL