use "enumerate", not function lookup - #187