Now reads input form param
Added callback for parent nodes