Target eunit works. Some ideas on how to not use foreach.