improved performance of returning nodes