reduced code by one line; don't store connection