Example app using pivot