adding more 'with' bindings to deal with this issue...