simplify solution by using Searchable#where