PLU subroutine appears to be working