Changed the syntax of current vs parent nodes