added a validation loop for confirming instance creation