worked on example using data attributes. it is not working yet.