Add loop and sleep