moved collection definition outside of method so it only happens once