transition to instance templates