<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Therapists as designers: an initial investigation of end -user programming of a tangible tool for therapeutic interventions</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Margherita Andrao</string-name>
          <email>margherita.andrao@unitn.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Barbara Treccani</string-name>
          <email>barbara.treccani@unitn.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Massimo Zancanaro</string-name>
          <email>massimo.zancanaro@unitn.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Psychology and Cognitive Science, University of Trento</institution>
          ,
          <addr-line>Rovereto (Trento)</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Fondazione Bruno Kessler - FBK</institution>
          ,
          <addr-line>Trento</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper presents a pilot study on end-user programming by therapists of a tangible tool for children on the autism spectrum. The core design ideas were to use detailed natural language descriptions of states and events, and an incremental process to facilitate the programming task. Our study provides initial evidence of the feasibility of this approach.</p>
      </abstract>
      <kwd-group>
        <kwd>1 End-User Programming</kwd>
        <kwd>End-User Development</kwd>
        <kwd>Mental Models</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        This study aimed to shed new light on end-user programming by naïve users and -in particular- on
how users develop and assume appropriate mental models for programming tasks. Specifically, our
work was meant to investigate whether a proper representation of the task and the use of a concrete
representation of events and states may facilitate learning of an EUD tool. To this aim, we examined a
group of therapists while they were learning to program a tangible table to support individual exercises
for children on the autism spectrum. We used a thinking-aloud procedure [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] to investigate therapists’
mental representations of how to program this tool.
      </p>
      <p>
        End-User Development (EUD) is the possibility for naïve users to create and modify computer
applications [11]. EUD is a valuable approach to accommodate users' idiosyncratic needs and allow
both the expression of users’ creativity and the attribution of personal values and meanings to artifacts
[12]. When it comes to social therapy for children on the autism spectrum, these two aspects are tightly
interconnected. Indeed, it is well known that children on the autism spectrum have idiosyncratic and
strong dispositions that need to be taken into consideration by therapists for the success of the
intervention [8]. Various approaches have been used to support therapists for personalizing ICT-based
interventions while the use of EUD has been proposed [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] but not yet thoughtfully explored.
      </p>
      <p>
        In this study, we built upon the notion of Trigger-Action rules for controlling IoT devices [
        <xref ref-type="bibr" rid="ref1">1,14</xref>
        ] and
leveraged on the idea of communicating a clear distinction between events and states [see 3,4] to
propose a language of primitives that therapists can use to personalize the exercises in a tangible device
[15].
1.1.
      </p>
    </sec>
    <sec id="sec-2">
      <title>The tangible tool and the events/state primitives</title>
      <p>In order to present a realistic example that could be also used in further longitudinal studies, in this
pilot study we referred to the tabletop tangible tool described in Wierbiłowicz and colleagues [15]. This
tool is an IoT device used to present interactive, multimedia, and tangible classification exercises. It has
a circular surface (approximately 50 cm) carved with guides for the placement of the external pieces:
objects and tiles representing different values of the objects' properties (see Figure 1). In the study by
Wierbiłowicz and collaborators [15], this tool was used for classification exercises. This type of exercise
starts when the therapist places an object in the center of the table. The child has to select the tiles that
correspond to the specific values (e.g., “red”, “large”, “circular”) of the properties (e.g., color, size,
shape) of this object. Once the tiles are placed in the guides, the table recognizes the objects and tiles
through NFC tags and displays proper visual and acoustical feedback in case of either success or error.
As discussed by the authors, the combination of digital and materiality has some interesting effects on
sustained attention and empowerment of both the therapists and the children. In assessing their
experience with the table, the therapists in Wierbiłowicz et al.’s study expressed the need to personalize
the type and form of the feedback to adapt the exercises to any specific child.</p>
    </sec>
    <sec id="sec-3">
      <title>1.1.1. Primitive for states and events</title>
      <p>
        In order to ground the EUD tasks, primitives for states and events were developed to reflect actual
configurations on the table and actions that users can perform on the table, respectively. The action
parts of the trigger-action rules are described as commands that can be given on the table to control
lights and sounds. To keep the task simple for non-programmers, we opted to avoid the use of variables
[13], while relying on lengthy and redundant descriptions of events and state (this should alleviate the
selection and the information barriers described by Ko and colleagues [9]). Natural language
descriptions have been demonstrated to be useful for programming task comprehension [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], although
they might be confusing when the procedures need to be generated [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In an attempt to overcome this
problem, we employed a constrained interface that can guide the users in composing each rule by
progressively selecting the events and state for each rule (see Figure 2; the actual interface has been
inspired by the one proposed by Desolda and colleagues [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]). An example of a state description is
“[WHILE] at least 2 tiles in the lateral areas conform to the [properties of] the central object”. Similarly,
an example of an event is “[WHEN] an object is inserted in the central place”. An example of an action
with a contextual dependency (to avoid the use of a variable) is “switch off the light of the last tile
added to the table”. In total, 90 state descriptions, 684 event descriptions, and 368 action specifications
have been defined. The graphical user interface is designed to support the user in progressively build
the statements.
      </p>
    </sec>
    <sec id="sec-4">
      <title>2. The study</title>
      <p>Four (4) volunteers (1 male, 3 females) were recruited for this pilot study. The inclusion criteria
were work experience as a psychologist, therapist or educator in the context of cognitive, behavioral
and social rehabilitation with children on the autism spectrum as well as no previous experience with
programming. The study has been conducted remotely as semi-structured individual interviews. Each
session was about 40 minutes and started with a brief demonstration of both the tangible tool and the
EUD graphical interface. Each participant then was asked to perform three simple 1-rule tasks to
familiarize with the system and with the think-aloud protocol. Finally, s/he had to create a new type of
exercise for a classification game. Participants were instructed on the mechanics of the game while they
have to create the rules using the available primitives. At the end of the study, participants were
debriefed and asked about their comments, impressions, and possibly advices to improve the system.
2.1.</p>
    </sec>
    <sec id="sec-5">
      <title>Preliminary results</title>
      <p>A managed to correctly define most of the rules. Participants B and C were able to correctly define
almost all the rules. Participants A and B described each single configuration rather than using the more
abstract state descriptions. Participants C was able to use oftentimes the more general (abstract)
statements. Participant D was not able to correctly frame the problem with respect to the rules.
Participant A always confused “while” and “when” conditions, but eventually he was able to correct
himself most of the times by reading the rules’ summary. Indeed, the incremental rule creation through
sequences of drop lists seemed for him to be more confusing than helpful while the final summary of
the rules (which he read as a natural language statement) was much useful to recognize the mistakes.
Instead, Participants B and C took advantage of the incremental construction of the interface. They
almost “reasoned through the interface” rather than reasoning on the task before and then entering the
rules into the interface. They too sometimes confused while with when but they were able to use these
two conditions correctly while building the rule in the interface. Participant D used the strategy of
thinking on the task before looking into the interface, similarly to participant A, and she too usually
confused events with states, for example she complained when she could not find an event like “when
all the tiles are inserted …”. Differently than participant A, she was not able to take advantage of the
natural language descriptions.</p>
    </sec>
    <sec id="sec-6">
      <title>3. Conclusion</title>
      <p>
        Although very preliminary, our results are consistent with the insights from previous literature [
        <xref ref-type="bibr" rid="ref5 ref7">5,7</xref>
        ]
on the effectiveness of natural language descriptions on program’s comprehension. Furthermore, our
study suggests that an incremental interface may also help the users in the generation phase, but only if
they use the interface while reasoning on the task. Finally, it is worth noting that this approach may
effectively facilitate reasoning on concrete configurations (as done by participants B and C) but it does
not seem to help abstract reasoning. This might be a major weakness of the approach. Further studies
are needed to confirm the value of this approach and thoroughly investigate its pros and cons.
      </p>
    </sec>
    <sec id="sec-7">
      <title>4. Acknowledgements</title>
      <p>This work has been supported by the Italian Ministry of Education, University and Research (MIUR)
under grant PRIN 2017 "EMPATHY: EMpowering People in deAling with internet of THings
ecosYstems" (Progetti di Rilevante Interesse Nazionale – Bando 2017, Grant 2017MX9T7H)</p>
    </sec>
    <sec id="sec-8">
      <title>5. References</title>
      <p>[8] C. Harrop, J. Amsbary, S. Towner-Wright, B. Reichow, and B. A. Boyd, That’s what I like: The
use of circumscribed interests within interventions for individuals with autism spectrum disorder.
A systematic review, Res. Autism Spectr. Disord. 57 (2019) 63–86, doi:
10.1016/j.rasd.2018.09.008.
[9] A. J. Ko, B. A. Myers, and H. H. Aung, Six Learning Barriers in End-User Programming Systems,
in: Proceedings of 2004 IEEE Symposium on Visual Languages - Human Centric Computing,
Rome, 2004, pp. 199–206. doi: 10.1109/VLHCC.2004.47.
[10] J. Korte et al., Pushing the Boundaries of Participatory Design, in: Proceedings of
HumanComputer Interaction – INTERACT 2019, Paphos, Cyprus, Sep. 2019, pp. 747–753. doi:
10.1007/978-3-030-29390-1_74.
[11] H. Lieberman, F. Paternò, M. Klann, and V. Wulf, End-User Development: An Emerging
Paradigm, in: H. Lieberman, F. Paternò, and V. Wulf (Eds.), End User Development, vol. 9,
Dordrecht: Springer Netherlands, 2006, pp. 1–8. doi: 10.1007/1-4020-5386-X_1
[12] P. Markopoulos, J. Nichols, F. Paternò, and V. Pipek, Editorial: End-User Development for the</p>
      <p>Internet of Things, ACM Trans. Comput.-Hum. Interact. 24, (2017), 1–3, doi: 10.1145/3054765
[13] J. F. Pane, C. A. Ratanamahatana, and B. A. Myers, Studying the language and structure in
nonprogrammers’ solutions to programming problems, Int. J. Hum.-Comput. Stud. 54 (2001) 237–
264, doi: 10.1006/ijhc.2000.0410.
[14] F. Paternò and C. Santoro, End-user development for personalizing applications, things, and
robots, Int. J. Hum.-Comput. Stud. 131 (2019) 120–130, doi: 10.1016/j.ijhcs.2019.06.002.
[15] J. Wierbiłowicz et al., Look at me and grab this! Materiality and the practices around negotiation
of social attention with children on the autistic spectrum, in: Proceedings of the 11th Nordic
Conference on Human-Computer Interaction: Shaping Experiences, Shaping Society, New York,
NY, USA: Association for Computing Machinery, 2020, pp. 1–5, doi:
https://doi.org/10.1145/3419249.3420176</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Ardito</surname>
          </string-name>
          et al.,
          <article-title>User-defined semantics for the design of IoT systems enabling smart interactive experiences</article-title>
          ,
          <source>Pers. Ubiquitous Comput</source>
          .
          <volume>24</volume>
          (
          <year>2020</year>
          )
          <fpage>781</fpage>
          -
          <lpage>796</lpage>
          , doi:10.1007/s00779-020-01457-5.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>T.</given-names>
            <surname>Boren</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Ramey</surname>
          </string-name>
          ,
          <article-title>Thinking aloud: reconciling theory and practice</article-title>
          ,
          <source>IEEE Trans. Prof. Commun</source>
          <volume>43</volume>
          (
          <year>2000</year>
          )
          <fpage>261</fpage>
          -
          <lpage>278</lpage>
          , doi: 10.1109/47.867942.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>G.</given-names>
            <surname>Desolda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Greco</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Guarnieri</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Mariz</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Zancanaro</surname>
          </string-name>
          ,
          <string-name>
            <surname>SENSATION:</surname>
          </string-name>
          <article-title>An Authoring Tool to Support Event-State Paradigm in End-User Development</article-title>
          , in: C. Ardito,
          <string-name>
            <given-names>R.</given-names>
            <surname>Lanzilotti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Malizia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Petrie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Piccinno</surname>
          </string-name>
          ,
          <string-name>
            <surname>G.</surname>
          </string-name>
          <article-title>Desolda, and</article-title>
          K. Inkpen (Eds.),
          <string-name>
            <surname>Human-Computer</surname>
            <given-names>Interaction - INTERACT</given-names>
          </string-name>
          <year>2021</year>
          , vol.
          <volume>12933</volume>
          , Cham: Springer International Publishing,
          <year>2021</year>
          , pp.
          <fpage>373</fpage>
          -
          <lpage>382</lpage>
          , doi: 10.1007/978-3-
          <fpage>030</fpage>
          -85616-8_
          <fpage>22</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>G.</given-names>
            <surname>Gallitto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Treccani</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Zancanaro</surname>
          </string-name>
          ,
          <article-title>If when is better than if (and while might help): on the importance of influencing mental models in EUD (a pilot study)</article-title>
          ,
          <source>in: Proceedings of the 1st International Workshop on Empowering People in Dealing with Internet of Things Ecosystems - co-located with International Conference on Advanced Visual Interfaces (AVI</source>
          <year>2020</year>
          ), Island of Ischia, Italy, Sep.
          <year>2020</year>
          , pp.
          <fpage>7</fpage>
          -
          <lpage>11</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>K. M.</given-names>
            <surname>Galotti</surname>
          </string-name>
          and
          <string-name>
            <given-names>W. F.</given-names>
            <surname>Ganong</surname>
          </string-name>
          ,
          <article-title>What non-programmers know about programming: Natural language procedure specification</article-title>
          ,
          <source>Int. J. Man-Mach. Stud</source>
          .
          <volume>22</volume>
          (
          <year>1985</year>
          )
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          , doi: 10.1016/S0020-
          <volume>7373</volume>
          (
          <issue>85</issue>
          )
          <fpage>80073</fpage>
          -
          <lpage>0</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>F.</given-names>
            <surname>Garzotto</surname>
          </string-name>
          and
          <string-name>
            <given-names>R.</given-names>
            <surname>Gonella</surname>
          </string-name>
          ,
          <article-title>An open-ended tangible environment for disabled children's learning</article-title>
          ,
          <source>in: Proceedings of the 10th International Conference on Interaction Design and Children</source>
          , New York, NY, USA, Jun.
          <year>2011</year>
          , pp.
          <fpage>52</fpage>
          -
          <lpage>61</lpage>
          , doi: 10.1145/1999030.1999037.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>J.</given-names>
            <surname>Good</surname>
          </string-name>
          and
          <string-name>
            <given-names>K.</given-names>
            <surname>Howland</surname>
          </string-name>
          ,
          <article-title>Programming language, natural language? Supporting the diverse computational activities of novice programmers</article-title>
          ,
          <source>J. Vis. Lang. Comput</source>
          .
          <volume>39</volume>
          (
          <year>2017</year>
          )
          <fpage>78</fpage>
          -
          <lpage>92</lpage>
          , doi: 10.1016/j.jvlc.
          <year>2016</year>
          .
          <volume>10</volume>
          .008.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>