You can actually combine this and previous line because `$node` variable doesn't seem to be used anywhere below this line.