an instance can execute code in another instance using the with statement