added own version of Enumerate (based on datafu). this one doesnt have the nullpointer exception