code changed, now sleep 1s.