loopAction is now loop