moved sleep to Host