Creation of get_invade_record