(modified from Budgell, 2005)