add support for configurable loop (system performance)