finally added Douglas' idea