Add instance creation loop