The study will examine the safety and efficacy of the reference design algorithm for both children and adults. The algorithm and app interface being tested is based on AndroidAPS, one of the two implementations of the OpenAPS algorithm. The study is funded by the Health Research Council of New Zealand.