solution file to combine searching for keywords
final solution for combined functions