Here you're running through the ```checks``` array ```ages.length``` times; I think it should be possible to set up some data such that you only have to iterate through ```checks``` once, and any necessary traversing of the ```ages``` array would be shortcut by a match... possibly a recursive method here, starting from oldest value first and working backwards? I'll think further on this.