Added back loop for performance.