Introduction

Aging in animals leads to changes in physiology and metabolism, which manifests into characteristic changes in behavior1,2. In healthy humans, aging is associated with decreases in both sleep quantity and quality as measured by the number of awakenings after the onset of the sleep period3. In the fruit fly Drosophila melanogaster, which has become a powerful model organism for the study and mechanistic dissection of sleep in recent years4,5,6,7,8,9,10,11,12,13, sleep-wake cycle also appears to break down with age to varying degree depending on genetic background and rearing conditions14,15. As opposed to the decrease in total sleep amount that accompanies the aging process in humans, wild type D. melanogaster shows an increase in sleep quantity as the animal ages4. Age-dependent changes of sleep can partly be attributed to the weakening of endogenous circadian rhythms15. Sleep-wake cycle has been widely used as an output parameter for assessing defects in circadian rhythms16,17,18. In laboratory conditions with constant temperature and abrupt change of lighting conditions between day to night or night to day transitions, D. melanogaster generally exhibits two bouts of activity; one centered around ZT0 (ZT = Zeitgeiber time; equivalent to dawn) termed morning peak and another around ZT12 (equivalent to dusk) termed evening peak. These two bouts of activities are controlled by the endogenous circadian clock and can be observed even in free-running conditions, such as total darkness, once the endogenous clock has been entrained to a certain environmental regime. Studies in the molecular mechanisms of sleep as well as circadian rhythm control and regulation in D. melanogaster and more recently in other invertebrates such as the malaria vector mosquito Anopheles gambiae19, have relied on the use of DAMS (Drosophila Activity Monitoring System) (Trikinetics, Waltham, MA). However, several studies showed that perhaps a video-based system may give a more accurate approximation of sleep-wake cycle and provide a finer resolution necessary to assess certain parameters of sleep, for example sleep quality and fragmentation20,21,22,23,24,25. More importantly, video-based recording systems have the superior capability of longer recording time due to the flexibility of how the animal habitats can be set up. This is important especially when monitoring sleep-wake cycle and other behavior that might change as animal ages.

The main objective of this study was to use the video-based high-resolution Behavioral Monitoring System (BMS)26 to monitor the daily rest-activity cycle of tephritid Mexican fruit flies Anastrepha ludens over their lifetime and to determine how this behavioral parameter changes with respect to diet and age. Note that without empirical evidence that the inactivity in Anastrepha ludens we are observing in our experiments represents bona-fide sleep as defined in D. melanogaster and mammals, e.g. whether it is accompanied by changes in arousal threshold11, we referred the inactivity we are assessing in our study as rest instead of sleep. Clinical studies using human subjects indicate that food can affect the quality of sleep and dietary choice can be influenced by the quantity of sleep27. A. ludens has a relatively long lifespan as compared to other insect models with adults living for 3 to 4 months on average and up to 11 months in the wild and has been previously used in demographic studies to study aging and aging intervention28,29,30,31, therefore representing a good model for our studies. Moreover, A. ludens is regarded as a very serious insect pest of various fruits, especially citrus crops in Mexico and other parts of Central America32,33. Continual monitoring and eradication is necessary to prevent its invasion into the United States and understanding the basic physiology of this insect pest will also benefit the design and implementation of control strategies. A secondary objective of this study was to determine the minimum monitoring resolution that will allow the accurate representation of daily activity pattern in this insect model. This was achieved by simulating different modes of behavior monitoring, i.e. enclosure bisection and distance displacement, using the high-resolution data recorded using BMS and comparing the conclusions based on behavior monitoring at different resolution.

Results

Models of behavioral monitoring

BMS was developed as the first fully automated video system capable of capturing and more importantly classifying lifetime behaviors of an invertebrate model, A. ludens26. In addition to differentiating between behaviors such as walking, resting, flying, feeding, drinking and micro-movements, BMS also records the 3D location of individual animals, allowing researchers to collect high resolution data concerning the effects of age, diet, genetics and any experimental manipulations on behavior, mobility and general health conditions of animals. In this study, we used BMS to examine the rest-activity pattern of A. ludens and determine how it changed with age as well as dietary conditions. With the high-resolution data obtained using BMS, we have the opportunity to systematically determine the minimum recording resolution necessary to most accurately represent rest-activity pattern in this invertebrate model. High-resolution behavioral data was recorded using BMS throughout the lifetime of 32 female animals and their daily activity patterns were calculated based on three different models of criteria (Figure 1). The enclosure bisection model provides the lowest resolution and is most similar to the activity-monitoring concept of DAMS (Trikinetics, Waltham, MA) (Figure 1A). DAMS is based on using the interruption of an infrared light beam to record the locomotor activity of individual animals contained inside small tubes. When measured over many days, animals exhibit daily cycles of activity and inactivity18. To analyze our data using the enclosure bisection simulation, we bisected the BMS enclosure in both the X- and Y-axis to create an imaginary “infrared beam”. Only one of the two possible bisections (X- or Y-axis) is shown in Fig. 1A to illustrate the concept. The fly was only considered active when it “broke the beam”. Note that if the movement of the fly was confined to either side of the “beam”, it was considered as inactive or resting, therefore this model is most likely to underestimate activity levels. Although the enclosure bisection model bears the closest resemblance to the DAMS in concept, it is important to point out that DAMS enclosures are usually narrow tubes, where the movement of an animal is restricted to a single dimension. As a result, the animal is more likely to break the infrared beam when they are active, therefore partially compensating for the underestimation of movement occurring on either side of the beam. On the other hand, the animal is not restricted to movement in one dimension in the 3D BMS enclosures used in our experiments (Fig. 1A). This will most likely lead to an increase in activity that does not “break the beam” as compared to recordings using traditional DAMS and exaggerate the underestimation of activity as deduced by the enclosure bisection simulation. For this reason, the goal of our simulation study is not to make a direct comparison between the DAMS and BMS, which is not justified due to the difference in enclosure dimension used, but rather, to determine the minimum recording resolution in BMS that most accurately approximates actual activity patterns by comparing results obtained using the enclosure bisection simulation, distance displacement simulation, to actual results as measured by BMS.

Figure 1
figure 1

Schematic diagrams illustrating the different models for measuring and interpreting activity of Anastrepha ludens: BMS, simulated distance displacement models and simulated enclosure bisection models.

The fly visible in the diagrams represents Anastrepha ludens: a body at 3 mm in length in an enclosure (cage) measuring 45 mm high, 35 × 35 mm square at the base and 55 × 55 mm square at the top. Distances are expressed in millimeter. The red line extending from the fly indicates its path of movement over a 1-minute period. (A) Spatial graphic depicting BMS cage simulating the enclosure bisection model; the fly enclosure is bisected by a virtual vertical plane (shaded yellow). Only one axis of bisection (X or Y) is shown here. The bisection model resembles the activity detection concept in traditional DAMS, where an activity event is recorded only when a fly crosses the yellow plane (i.e. breaks the infrared beam of the DAMS). (B) BMS cage simulating a displacement distance concept; each circle/sphere represents a different displacement distance from the fly's current location in the cage. (Red, orange, yellow, light green and dark green represent displacement distances of 20 mm, 15 mm, 10 mm, 5 mm and 2 mm respectively.) DDS = Distance Displacement Simulation. An activity event is recorded when a fly moves beyond the given displacement distance and the fly's new location becomes its new current location. The BMS system provides the highest resolution recording including behavior characterized as micro-movements, which has a displacement distance of less than 2 mm.

The second model, which we predict would increase the resolution of activity vs. inactivity, is the distance displacement model (Figure 1B). Here, a fly was considered to be active once it crossed a threshold distance. A number of threshold distances (2 mm, 5 mm, 10 mm, 15 mm, 20 mm) were implemented during our simulation to assess the minimum distance necessary to approximate the differentiation of active vs. inactive as determined by BMS, which we considered to be the most accurate representation of actual activity patterns.

Analysis of A. ludens activity patterns with respect to age and diet

Based on the different criteria for active vs. inactive or rest, we calculated the total rest amount (expressed as rest intensity) for flies during the 12-hour light period vs. 12-hour dark period during each circadian day and plotted the data as event history charts over the lifetime of the flies (Figure 2). These charts are useful in depicting general trends over the lifetime of experimental animals. As clearly illustrated by the color scheme (green = less rest; red = more rest), the amount of rest in the light period, as recorded using BMS and illustrated in the bottom row of each chart, is lower than in the dark period throughout the lifetime of the flies in both dietary conditions (compare top panels of Figure 2A and B; and bottom panels of Figure 2A and B). This is in agreement with other video-based assays performed in D. melanogaster, suggesting flies have a similar sleep-wake pattern as in humans, where sleep is consolidated in the dark phase (e.g. Ref. 22). The average rest intensity in the light period did not seem to differ dramatically between flies that were fed with full vs. sugar diet upon visual inspection of the BMS event history charts (Figure 2A), even though the differences were significant (p < 0.0066) (Figure 3A). On the other hand, the average sleep intensity in the dark period between flies fed with the different diets showed clearly observable and highly significant differences (p < 4.76E-09) (Figure 2B and 3A), suggesting that sugar-only diet resulted in an increase in rest intensity at “night”. In comparing the different simulation models for calling “activity” vs. “rest” to assessment by BMS, the amount of rest was greatly overestimated in the light period irrespective of diet, especially in those models with resolution coarser than 5 mm (Figure 2A). The degree of rest overestimation was not as severe during the dark period (Figure 2B), but still presented significant differences (Figure 3B).

Figure 2
figure 2

Event history charts depicting the average daily rest intensity over lifetime of Anastrepha ludens in light and dark phases of the day as compared using BMS, displacement distance simulation and enclosure bisection simulation.

Rest intensity is calculated as the percentage of rest-time over the (A) light or (B) dark period of a given day, 0% being active and 100% being 12 hours of continuous rest. Columns represent rest intensity for a specified 12-hour period for a specific age; age increases one day per column from left to right on the X-axis of the graphs. Rows depict rest intensity as calculated by different models: From top to bottom on the Y-axis of the graphs, enclosure bisection simulation: X-axis, Y-axis, distance displacement simulation: 20 mm, 15 mm, 10 mm, 5 mm, 2 mm and BMS respectively. Data is presented for the Light phase (12-hour lights-on periods), Dark phase (12-hour lights-off periods) for female animals on Full (n = 16) or Sugar (n = 16) diet.

Figure 3
figure 3

Significance measures between different activity monitoring models.

P-values were calculated using the "t-test: Two-Sample Assuming Unequal Variances" from the Data Analysis package in MS Excel. The raw data from Figure 2 was used to generate these P-values. The boxes are shaded in a continuum such that red indicates high levels of significant difference, green indicates no significant differences and yellow is intermediate. EBS = Enclosure Bisection Simulation; DDS = Distance Displacement Simulation; BMS = Behavioral Monitoring System.

To compare age-dependent differences more carefully, we examined activity patterns of flies at different stages of their life: young flies (15 to 25-day old), middle-aged flies (50 to 60-day old) and old flies (80 to 90-day old) (Figure 4). Based on the BMS-deduced data (shown in red), feeding flies with a sugar-only diet led a decrease in day-time rest (compare Figure 4A and C) and an increase in night-time rest (compare Figure 4B and D) as compared to feeding flies with full diet. This observation is consistent in all age groups. It is interesting to note that flies that were on a sugar-fed diet had a shorter lifespan26. Although flies fed with sugar-only diet showed an increase in dark-period rest throughout all age groups, it is unclear whether the quality and restorative function of their rest is equivalent to flies fed with full-balanced diet. Together with other physiological consequences of sugar-only diet, this may have long-term cumulative detrimental effects on their healthspan, which manifested into lower nighttime rest intensity at old age (Figure 4D) and shorter lifespan. In D. melanogaster, it was reported that high calorie diet, which is associated with acceleration in the aging process and reduction in lifespan across species, also accelerates age-associated rest changes34.

Figure 4
figure 4

Average rest intensity by age groups as interpreted by different activity monitoring models.

Bar graphs depicting daily averages of rest intensity over an 11-day period as calculated using different models for light periods or dark (lights-off) periods and full diet or sugar diet flies respectively. Each triad of charts compares rest intensity (left to right) across three age periods, 15–25 days, 50–60 days and 80–90 days. Each bar denotes the average rest intensity recorded by a specific activity model. Rest intensity is calculated as number of hours of rest/12-hour period (light or dark). This is then averaged over an 11-day period for each age group. Dark orange and light orange bars depict results from enclosure bisection simulation models, X-axis bisection and Y-axis bisection respectively. Five blue-shaded bars from navy to cyan (left to right) depict the results from distance displacement simulation models, 20 mm, 15 mm, 10 mm, 5 mm and 2 mm models. Red bars denote the rest levels calculated by the BMS. (A) Rest intensity in full diet A. ludens females during daily 12-hour light periods across ages and models. (B) Full diet average rest intensity during daily 12-hour dark periods. (C) and (D) Average rest intensity in sugar-only diet A. ludens females for daily 12-hour light periods and dark periods respectively. n = 16 for each treatment.

Finally, we examined the daily activity rhythms of flies across three different age groups (Figures 5 and 6). These results were based on average activity rhythms over an 11-day period for each age group. BMS recordings indicated that A. ludens increases their activity levels at ‘dawn’, the beginning of the light period. As opposed to other species such as D. melanogaster, for which daily activity patterns have been studied extensively, there is virtually no increase in activity levels in anticipation for dawn. This may be indicative of a weak “morning oscillator”35,36 in A. ludens, which is predicted to control the timing of morning activity. Or perhaps, A. ludens relies more on temperature increase as a cue to anticipate dawn. Temperature has been shown to be a critical variable in controlling daily activity patterns37 and may even be dominant over light conditions in natural environment38. It will be interesting to observe activity patterns for A. ludens in conditions that more closely resemble natural transitions between day to night as well as night to day, which are richer in environmental cues. A. ludens flies remain active throughout the day and their activity reach maximum levels at ‘dusk’, just before the beginning of the dark period. This peak of activity is coincident with or is preceded by the peak of mating activity39. This is followed by a rapid decrease in activity levels, resulting in consolidated ‘rest’ throughout the dark period. In comparing flies fed with full diet, sugar-fed flies have higher average as well as peak activity levels in general (compare Figure 5A and D, as well as Figure 5B and E), except when flies reach old age (compare Figure 5C and F). The rapid drop in activity levels at dusk seems to occur slightly earlier in sugar-fed flies and this phenomenon is most obvious in older flies (compare Figure 5C and F). In terms of age-dependent changes in activity profiles, the pattern for flies fed with full diet remains pretty constant throughout their lifetime (Figures 5A–C), whereas more pronounced differences are observed in sugar-fed flies (Figures 5D–F), perhaps reflecting age-dependent deterioration in healthspan and mobility.

Figure 5
figure 5

Daily activity pattern by age groups as calculated using different activity monitoring models.

Average diet-, age- and model-specific activity patterns of A. ludens females through a 24-hour period. Each line represents the diurnal rest-activity patterns of A. ludens females averaged over eleven-day periods, ages 15–25, 50–60 and 80–90. (A–C) Females reared using full diet; (D–F) Females reared using sugar-only diet (n = 16). Activity intensity is calculated for every 30-minute span and expressed as the percentage of time within that 30-minute period when flies are active. This is then averaged over an 11-day period for each of the three age groups. 0% is no activity, 100% is continuous activity. Dark bar below chart indicates the daily 12-hour dark (lights-off) period; white bar indicates the 12-hour light period. ZT0 indicates the time when lights turn on and ZT12 indicates the time when lights turn off. Results from EBS (enclosure bisection simulation) X- axis and Y-axis bisections are represented by dark and light blue lines. Five green-shaded lines from dark to light depict the results from DDS (distance displacement simulation) 20 mm, 15 mm, 10 mm, 5 mm and 2 mm models. Red lines denote the activity levels calculated by the BMS.

Figure 6
figure 6

Daily activity pattern by age groups as calculated using different activity monitoring models on logarithmic scale.

Average diet-, age- and model-specific activity patterns of A. ludens females through a 24-hour period. Each line represents the diurnal rest-activity patterns of A. ludens females averaged over eleven-day periods, ages 15–25, 50–60 and 80–90. (A–C) Females reared using full diet; (D–F) Females reared using sugar diet (n = 16). Activity, plotted on the Y-axis, is on a logarithmic scale to show detail profile of each model. Dark bar below chart indicates the daily 12-hour dark (lights-off) period; white bar indicates the 12-hour light period. ZT0 indicates the time when lights turn on and ZT12 indicates the time when lights turn off. Results from EBS (enclosure bisection simulation) X- axis and Y-axis bisections are represented by dark and light orange lines. Five blue-shaded lines from dark to light depict the results from DDS (distance displacement simulation) 20 mm, 15 mm, 10 mm, 5 mm and 2 mm models. Red lines denote the activity levels calculated by the BMS.

Similar to results shown in figures 2 and 4, there is obvious underestimation of activity by the enclosure bisection and distance displacement models as compared to BMS, especially during the light period (Figures 4 and 5). As a matter of fact, the activity levels of A. ludens are quite low as compared to species such as D. melanogaster. Without the use of BMS, it will be difficult to decipher the periodicity of activity rhythms and these animals may mistakenly be labeled as arrhythmic, simply because their activity levels are too low (Figure 5). Plotting the same data in logarithmic scale allowed us to recover more information on activity profiles even for other monitoring simulations (Figure 6). The simulated enclosure bisection and distance displacement models recorded the same activity profiles as BMS, albeit at a much lower amplitude. Although BMS was originally designed to automate high-resolution behavioral analysis26, we believe it provides far superior resolution and sensitivity that will be valuable, even for monitoring of rest-activity cycles and activity patterns.

Discussion

This is the first report to describe age- and diet-dependent modulation of rest-activity cycle in the tephritid fruit fly Anastrepha ludens. As in humans and other insect models, A. ludens shows consolidated rest during the dark period. Since previous studies in fruit flies and other species reported that the strength of the sleep-wake (or rest-activity) cycle generally deteriorates as animal ages8, we predicted that we might observe a substantial reduction in amplitude of activity patterns as we assayed tephritid fruit flies of increasing age. Surprisingly, there was no dramatic change in activity patterns throughout their lifetime when flies were kept in light-dark cycles and fed with a more nutritionally balanced diet. Even the overall activity level was only slightly diminished, e.g. as observed during the morning peak of activity (Fig. 5A–C). When quantifying rest intensity, flies fed with a balanced diet showed no significant change as they aged (Figure 4A–B). There may be a small increase in rest intensity between flies that are in the 15–25 vs. 50–60 age groups, which is especially prominent in the dark period when rest is consolidated, but the difference is not statistically significant. This trend is similar to what was observed in D. melanogaster in which total sleep time increases with age and the increase is most prominent earlier in life4. It is possible that an increase sample size may increase the statistical significance of our observation. However, if A. ludens were fed with high sugar diet, their activity profiles show a much more apparent reduction in amplitude at old age (Figure 5D–F), perhaps reflecting premature decrease in mobility, energy level and healthspan. Interestingly, the rest intensity of these flies in the dark period also showed a dramatic drop at old age (Figure 4D), indicating that perhaps rest in these flies may be decreased in quantity or less consolidated, also an indicator of a deterioration of health. Taken together, our results suggest that detrimental effect of high sugar or suboptimal diet may not manifest itself until the animal ages. Next, it will be interesting to determine the effects of diet on activity patterns in free-running conditions, e.g. constant darkness, to examine the influence of diet on circadian mechanisms that regulate activity patterns in A. ludens. Studies using D. melanogaster showed that older flies tend to have increasingly long period, until eventually activity patterns degenerate into arrhythmicity15. Using activity patterns of tephritid fruit fly as a model and our data presented here as a baseline, together with other behavioral parameters that BMS is capable of classifying, we can now perform studies to explore aging intervention26,29,30 in relation to diet. Moreover, we can explore the use of other behavioral parameters in addition to rest/activity patterns as biomarkers of aging and predictors of lifespan14.

In addition to providing a better understanding of the basic physiology of A. ludens, a serious insect pest of fruit crops and an insect model for aging and demographic studies, our study also reaffirmed that video-based high-resolution monitoring systems, such as BMS, provide a more accurate representation of insect behavior, even as simple and coarse as activity patterns. Monitoring systems with lesser resolution are more likely to overestimate rest or sleep, as we have clearly shown in this study. The capability of BMS, as shown previously26, is clearly not limited to differentiating between activity vs. inactivity. BMS is an automated video system capable of capturing and more importantly classifying behaviors such as walking, resting, flying, feeding, drinking and grooming. In the current version of BMS, there are two main drawbacks that accompany its increased resolution and capability. First, in order to record fine movements in microscopic scale for classifying a wide range of behaviors, high magnification cameras are necessary. This limits the recording field such that one camera cannot monitor all fly habitats simultaneously and has to rotate between different habitats, leading to non-continuous recordings, i.e. each fly is recorded for a 1-minute period every 18–20 minutes. Ongoing optimization of BMS to achieve continuous monitoring of all experimental animals includes the use of higher resolution recording cameras as well as the use of multiple cameras simultaneously. Continuous recording is necessary to accurately assess behavioral parameters, e.g. length of rest bouts. The second drawback, which is the requirement for increased computational power for automation of behavioral classification and data storage capacity as compared to monitoring systems with less resolution, will be further magnified with the optimization of BMS to achieve continuous monitoring. However, with the fast pace of progress in computational technologies and parallel data processing, we anticipate that the time and cost to process such large behavioral bioinformatics data sets, not unlike those in the field of genomics, transcriptomics and proteomics, will be dramatically reduced in a short time frame.

Methods

Fly husbandry and collection of data using behavioral monitoring system (BMS)

Conditions for rearing of A. ludens and BMS experimental conditions were as previously described26. Full diet contained sugar and autolyzed yeast (MP Biomedicals, cat. #103304) at the ratio of 9:1 and was made by mixing 9 parts of sugar with 1 part of autolyzed yeast. Sugar diet contained sugar only. The experiments were conducted in environmentally controlled conditions where the temperature was kept at 25°C; lights-on time was 7am and lights-off time was 7pm. The dataset is a result of two replicate experiments yielding lifetime behavior patterns of 32 female flies, with 16 individuals receiving full diet and the other 16 receiving sugar-only diet. Fresh food and water were provided to flies weekly. Recording was initiated upon eclosion of flies and lasted through the lifetime of the experimental animals. The sampling rate of the BMS was 5 images per second and each BMS cage, containing one fly, was sampled for a consecutive duration of 60 seconds. This results in a total of 300 data points per bout of recording per fly. Due to the number of cages that required data sampling by a single video unit and required data processing time, each BMS was sampled every 18–20 minutes.

Criteria used to define rest and activity in BMS, enclosure bisection simulation model and distance displacement simulation model

BMS allows the recreation of 3D trajectories of fly movement and uses that information to automate classification of six behaviors, including resting, micro-movement, walking, flying, feeding and drinking26. The goal of this study was to analyze rest-activity cycle and in-house scripts were generated to classify the BMS-recorded behavior to reflect rest vs. active only. Here we described the criteria used to define rest using (1) BMS, (2) the simulated enclosure bisection model and (3) the simulated distance displacement model.

BMS: Currently, sleep periods in Drosophila melanogaster must be greater than 5 minutes in duration to be classified as sleep6. We are referring the inactivity assessed in our study as rest instead of sleep since there is currently no empirical evidence that the inactivity in A. ludens we are observing in our experiments represent bona-fide sleep as defined in D. melanogaster and mammals, e.g. whether it is accompanied by changes in arousal threshold11. To include a given 1-minute period as part of a rest bout, 90% or more of the behavior in that 1-minute (300-data points) recording session must be rest as defined by BMS26. The 10% active behavior limit only allows micro-movement behavior (twisting, rotating, flexing wings). If the fly moved more than 2 mm in the X, Y, or Z plane (xMax – xMin > 2 mm) during a 1-minute (300-points) recording session, the 1-minute recording was not counted as rest behavior. Furthermore, movement must be less than 2 mm in X, Y and Z directions between two 1-minute recordings (which spans on average 18-20 minutes due to the nature of BMS recordings) in order for those recordings to be included in a rest bout. In other words, if the fly moves more than 2 mm from its previous location in the 18–20 minutes when BMS is monitoring other flies, then the fly was considered to have stopped resting and rest duration was reset again to zero.

Simulated enclosure bisection and distance displacement models: When a fly crossed the threshold criteria for the enclosure bisection model or threshold distance set for the distance displacement model less than 5 minutes after it previously crossed that same distance, the simulation models assumed the fly had not rest. Every time the fly crossed the threshold distance, the rest duration was reset to zero. The smallest quiescence period in this data is >10 minutes due to the BMS monitoring cycle. The difference between the different simulation models is as follows: For the enclosure bisection simulation model, the fly must remain on one side of the cage to achieve quiescence. Crossing the midpoint of the given axis (X or Y) of the cage ‘breaks the beam’ (Figure 1A) and resets the rest duration value to zero. For the distance displacement simulation models, the fly must remain within the given distance (2 mm, 5 mm, 10 mm, 15 mm and 20 mm) from an initial position to achieve quiescence. Moving beyond the given radius from its initial position crosses the threshold limit and thus sets a new initial position, resetting the rest duration value to zero. The greater the radial distance in the different displacement models (e.g. 2 mm vs. 20 mm), the more movement afforded the fly while still being considered resting. Therefore, the 2 mm displacement model should more accurately measure actual behavior and most similar to BMS. The difference in activity levels as calculated using the different models were assessed using Student's t-test. A value of p < 0.05 was considered as statistically significant.