updated PrimitiveShape example