What is the purpose of `sleep` here?