Ok i got it working with including an $iif to only put the second search word if it's actually there. thanks for the help.