add node and data methods