A loop for the power