corrected the print statement for naming
added ret check for setting parent signal