why did you rename `container` to `element`, then assign `container = element`? It seems like if you are keeping the name anyway, just leave it.