made Node class