[WIP/RFC] Rewrite things

this is the wrong result in case no child is sleepy