using patched objects