1 Electronic Supplementary Material 2 Additional methods 3 1. Study species and housing 4 Seven wild male European starlings were caught under license from English Nature (License 5 Nos. 20040489), and transferred to a free-flight aviary in laboratories at Newcastle University. 6 We used only male European starlings in order to reduce variance in behavior arising from sex 7 differences in mass and mass regulation strategies. Therefore, birds could have different 8 strategies of diurnal mass regulation and toxin ingestion. The birds were taken from the free- 9 flight aviary and housed individually in wire mesh cages measuring 450 x 750 x 450 mm (h x w x 10 d) with a metal drawer at the bottom, which could be removed for cleaning. Cages contained two 11 dowel perches and two water bottles, and birds were provided bathing water every 2-3 days. 12 The birds had no prior experience with unpalatable prey in the laboratory nor the stimuli or 13 experimental protocol used in this experiment. The birds were kept on a 14:10 hour light/dark 14 cycle (lights on at 0900 h; lights off at 2300 h). Differences in ambient temperature can have a 15 significant effect on the birds’ consumption of chemically defended prey [S1]. However, room 16 temperatures during the experiment ranged between 14-16 °C and so this would unlikely have 17 been the cause of differences in consumption observed within sessions, days, or prey types. 18 During training, birds were fed ad libitum pheasant breeder pellets and were given a piece of 19 fruit daily and water was available continuously. During the experiment, birds were fed ad libitum 20 pheasant breeder pellets except while the daily sessions were taking place when their food was 21 removed from their cages 5-min prior to the start of daily experiments and placed back in cages 22 immediately after the daily session finished. After the experiment, birds were returned to the 23 free-flight aviary before being released back into the wild at their site of capture in 2006. 24 25 2. Training procedure 26 Five minutes before the start of every session, we removed a bird's food bowl and moved their 27 cage to a new position in visual isolation from the experimenter and other birds in the room. In 28 order to observe the birds’ behaviour we used a video camera connected to a television monitor. 29 Birds were initially trained to flip white lids off Petri dishes to find unmanipulated and palatable 30 mealworms underneath [S2]. A Petri dish containing a single mealworm was presented every 31 three minutes, and the bird had 60 seconds to attack and eat the mealworm before it was 32 removed. Birds were given 18 presentations in a session. Once the birds had learned to flip the 33 white lids off the Petri dishes (up to three training sessions), we trained birds to recognise 34 differences among the three prey types (undefended, mixed-defence and fixed-defence prey) by 35 changing the white lids for coloured lids that corresponded with prey type. The prey lid colours 36 (pastel colours of pink, yellow, green, and blue) were assigned for each bird’s prey using a Latin- 37 square procedure to ensure no lid colour was over represented with a particular prey type. Each 38 half-session (nine presentations) contained three of each prey type presented in a random order. 39 Birds took between 3 and 11 sessions (mean ± s.e. = 6.6 ± 1.46 sessions) to eat significantly 40 more undefended than defended prey when summed over three consecutive days (total number 41 of each prey eaten summed over three days: mean ± SE; undefended = 17.4 ± 0.30 [from a 42 maximum of 18 prey], defended (i.e. mixed and fixed-defence prey) = 24.4 ± 1.60 [from a 43 maximum of 36 prey]; all 𝜒12 ≥ 4.021, all P ≤ 0.045). Once they had each reached this criterion, 44 we recorded their responses for a further 10 days (see Results). 45 46 3. The amount of quinine ingested from eating mixed- and fixed-defence prey 47 An important assumption of the experiment was that birds experienced the same mean level of 48 defences for the mixed-defence and fixed-defence prey (i.e., the defences for the mixed and 49 fixed-defence prey should both equal 2% quinine). To test this assumption, for the mixed- 50 defence prey, we compared the numbers of 4% prey eaten with the numbers of 0% prey eaten. 51 We ran a generalised additive mixed model on the data obtained from the 10 daily sessions 52 comparing the numbers of water-injected (0%) and quinine-injected (4%) mixed-defence prey 53 type were eaten. We included prey type (water-injected and quinine-injected) and statistically 54 controlled for the effects of day, prey number, and bird by including them as random factors in 55 the model. We found that there was no significant difference in the numbers of water-injected 56 and 4% quinine-injected mixed-defence prey that were eaten (mean proportion of eats ± SE 57 [total prey eaten by all birds/total prey available for all birds]: 4% quinine injected = 0.5238 ± 58 0.035 [110/210], 0% water-injected = 0.5 ± 0.035 [105/210]; GAMM: 𝜒12 = 0.4809, P = 0.488). 59 Therefore, we conclude the difference in the number of fixed and mixed-defence prey eaten was 60 not the result of a difference in the average amount of quinine ingested from each prey type. 61 62 4. Data handling and statistics 63 We conducted all analyses in this study using generalised additive mixed models (GAMMs). 64 GAMMs are a powerful mixed-modeling technique that allow continuous variables to be included 65 in mixed-models as factors expressed as smoothed terms (similar to splines) along with 66 categorical fixed-factors and random factors [S3]. We excluded the undefended prey from 67 analyses because they were almost universally eaten by birds (mean consumption rate ± SE = 68 0.988 ± 0.005). We used whether birds ate the prey (0 or 1) or not as the dependent variable in 69 our models. We included prey type (fixed or mixed) as a fixed factor and presentation number 70 within session (1-18) as a smoothed factor. In the original model, there was a significant day 71 effect (GAMM: 𝜒12 = 5.066, P = 0.0244, Fig S1). While there did not appear to be any biologically 72 important trend in the variation among days (Fig S1), we included session number (1-10) as a 73 random factor in the model to account for the possibility that these differences were due to 74 differences among days of an unmeasured variable (e.g., energetic state [S4]). Bird ID (1-7) was 75 also included as a random intercept factor to control for differences among subjects. Our 76 dependent variable was binary meaning that we fitted a binary distribution with a log-link function. 77 We ran models using the GAMM command in the mgcv package [S3] to run models using R 78 (version 3.0.1) [S5]. All tests were two-tailed, and the level of significance was primarily set as 79 = 0.05. We used log-likelihood tests to test for significance of factors throughout the paper. 80 81 References 82 S1. Chatelain M, Halpin CG, Rowe C. 2013 Ambient temperature influences birds’ decisions to 83 84 85 86 87 88 eat toxic prey. Anim. Behav. 86, 733–740. S2. Skelhorn J, Rowe C. 2006 Predator avoidance learning of prey with secreted or stored defences and the evolution of insect defences. Anim. Behav. 72, 827–834. S3. Wood S. 2013 Mixed GAM computation vehicle with GCV/AIC/REML smoothness estimation. R package version: 1.7-24. http://CRAN.R-project.org/package=mgcv. S4. Barnett CA, Bateson M, Rowe C. 2007 State-dependent decision making: educated 89 predators strategically trade off the costs and benefits of consuming aposematic prey. Behav. 90 Ecol. 18, 645–651. 91 92 93 S5. R Core Team. 2013 R: A Language and Environment for Statistical Computing (version: 3.0.1). R Foundation for Statistical Computing, Vienna, Austria. 94 Electronic supplementary figures 1 Proportion eaten 0.8 0.6 0.4 0.2 0 0 2 95 4 6 Session 8 10 96 97 Figure S1. The combined means ±SE of the proportions of mixed and fixed prey eaten in 98 different daily sessions. 99 100