add example w/attributes in platforms