data-attr and anon functions