adapting nations example to my purposes