I used references instead of instances as you suggested.