assignment operator for node