not the best example, as we are suppose to only accept arrays