data-name check not actually needed