Now takes multiple arguments, and searches them one by one.