uncommented patch loop