Modified and corrected addinf new records