left out part of my boolean function- would not do anything without it.
array function