fleshing out demo; added builder for attributes