restricted access to Node class