com handler for idle

+ some more comments