update example to take advantage of new formats