include the last iteration