Forgot enumerate in two loops