modified timeout-stub example widgets