use less of the "with" statements