Environmental conditions shape the temporal pattern of investment in reproduction and survival. Issue 1870 (3rd January 2018)