set enum variable on collection key so that .collect gets called