Here is the design of a clinical trial:

Official Title: Cognitive Frailty in Older Adults: Protocol of a Pilot RCT of the Role of Technology in Physical Activity Enhancement

Included conditions:
- Mild Cognitive Impairment
- Frailty

Study Armgroups:
- {'label': 'Intervention Group', 'type': 'EXPERIMENTAL', 'description': 'Participants in the intervention group will be given the wearables which they will use together with the accompanying mobile application for the period of the study (6 months). During the period of intervention, the wearable will track the physical activity of the older adults via the number of steps taken and number of hours of moderate physical work (based on heart rate). Heart rate and steps will be tracked whenever participants are wearing the watch, which is when they are awake. The watch is to be charged every night when they are sleeping. Participants will have to log down their physical activity by activating the physical activity tracker either on the watch or on the mobile application. If they did not hit the required level of physical activity, they will be sent a notification prompt through the mobile application with details of nearby workout locations as recommendation.', 'interventionNames': ['Device: Mobile phone application and smart watch']}
- {'label': 'Control Group', 'type': 'NO_INTERVENTION', 'description': 'For the control group, they will wear the wearables as a tracking device for the period of the study (6 months). No prompts will be given and the mobile application will only be installed but not used for this group.'}

Interventions:
- {'type': 'DEVICE', 'name': 'Mobile phone application and smart watch', 'description': 'Mobile phone application prompts', 'armGroupLabels': ['Intervention Group']}

Primary Outcomes:
- {'measure': 'Mean Change from Baseline in frailty screening scores on the FRAIL questionnaire at 3 and 6 months', 'description': '5 questions on fatigue, resistance, ambulation, illness and loss of weight. It is a simple screening test for frailty. Scores of 0 (non-frail), 1-2 (pre-frail) and 3-5 (frail).', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in physical frailty as measured by physical performance tests at 3 months and 6 months', 'description': 'Hand grip strength in kilograms', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in physical frailty as measured by physical performance tests at 3 months and 6 months', 'description': 'Gait speed, time taken to walk a specified distance as fast as possible, in seconds', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in physical frailty as measured by physical performance tests at 3 months and 6 months', 'description': 'Timed Up and Go (TUG), time taken to stand up from a chair, walk 3 meters, turn around and sit back down, in seconds', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in physical frailty as measured by physical performance tests at 3 months and 6 months', 'description': 'Chair Stand Test, time taken to stand up fully 5 times from a chair in seconds', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in cognitive scores as measured on the Neurocognitive Assessment test battery at 3 and 6 months', 'description': 'Rey Auditory Verbal Learning Test (RAVLT) assesses verbal learning and memory', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in cognitive scores as measured on the Neurocognitive Assessment test battery at 3 and 6 months', 'description': 'Digit Span Forward and Backward (DS) assesses working memory capacity', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in cognitive scores as measured on the Neurocognitive Assessment test battery at 3 and 6 months', 'description': 'Colour Trails Test (CTT) assesses visual-spatial skills and attention', 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in cognitive scores as measured on the Neurocognitive Assessment test battery at 3 and 6 months', 'description': "Wechsler's Block Design (WBS) assesses visuospatial ability", 'timeFrame': 'At 3 months and 6 months'}
- {'measure': 'Mean Change from Baseline in cognitive scores as measured on the Neurocognitive Assessment test battery at 3 and 6 months', 'description': 'Semantic Fluency - animals (SFA) assesses semantic memory', 'timeFrame': 'At 3 months and 6 months'}

Please estimate the sample size based on the assumption: 
Power of 0.80, significance level (Î±) of 0.05, correlation between repeated measures of 0.50, nonsphericity correction of 1, and a potential drop-out rate of 20%.
Sample size justification
        Given a hypothesized treatment effect size of 0.4, according to the meta-analysis of physical activity intervention on cognitive outcomes [30] and physical outcomes [31], it was estimated using G*Power [32] that a total sample size of 42 was required to detect a significant within-between interaction with a power of .80, assuming Î± = .05; the correlation between repeated measures = .50 and nonsphericity correction = 1. After considering potential drop-out rates of 20% and publication value, a total sample size of 60 was reached. This will be adequate to detect an effect size of 0.4 or larger, at a power of .80 if such an effect exists. In order to assess the feasibility of this RCT, recruitment and retention rates will be examined as secondary outcome measures.