switch to data-attrs