use word array for if statement