Changing to @keywords = map etc., reduces @keywords to an array of empty strings - any ideas why?  I'm poking around in textbooks and on the internet but if anyone  knows the answer off the top of their heads it would save time.