New method to print Node
Not using deprecated class