Updated comments and modified parentp pointer vars.