typically , because of confidentiality , any time a deal was about to take place and either of the companies involved were a public company , code names for the companies were used , to guard against leakage of information that could possibly affect the public stock price .