cullnode refacoring