auto and range-for-ify some things to make changing container types a bit easier...