Add time sleep and loop.