Nice one. You might want to move line 16 into its own method though since it seems like an independent piece of logic (`searchChanged`?)