add foreign_id_number and the id checked to exist
refactored