first draft of a script to prototype
to compare