is pulling this out into a member necessary? it's only used once. should be defined at the call site.