Learn about functions - so glad for this. Rewrote using function = so much better