Don't run loop for every time