change `element` to `parentElement`?