Added labels for active and inactive loops