It may be worth also pointing out that this is an `O(n)` method