When an Auckland dad had trouble sleeping one night in July, instead of getting up for a glass of water, reading, or watching TV, he built an app.
About two hours later, when James Brown's 2-year-old daughter Mina woke up, the app - a game called wOmp - was working.
And importantly, it was fun, the 34-year-old said.
The game went up on Apple's App Store last Thursday and has since been featured on the home page's "best new games" section.
It was downloaded 4333 times on the first day and by Saturday, the number of downloads had increased to 12,790.