split protected methods into new class. node_helper