log sleep lines only for debug
remove one layer of functions