finished node class implementation