Fixed instructional infinite loop