First attempt at multi-instance patch