LPR's code is the perfect one. Use that. Case closed.