Nov. 5 (UPI) — A North Carolina man used the zip code of his new investment property to play the lottery and won a $50,000 prize.

The Baltimore man told Maryland Lottery officials he chose the numbers 2-8-0-0-1 when he bought his Pick 5 ticket from the Victory 1 store on East Green Street in Westminster because they match the zip code of the investment property he bought in North Carolina.

The man’s numbers came up in the Oct. 22 evening drawing, earning him a $50,000 prize.

“I always look at the screen and I saw the Pick 3 and Pick 4, but I wasn’t paying attention when Pick 5 was on,” he said. “Then I looked again — did a double take. I couldn’t believe it.”

He said the money will help him renovate his new property.

“It’s got some fix ups, then I’m going to rent it out,” he said.