use data attributes instead of hardcoded css classes