updated idle example