dont change the passed collection