improve the grammaticallity of the following sentence:
Ever since the first vending machine appeared, many companies adopted this idea as the public welcomed such invention.
Ever since the first vending machine appeared, many companies have adopted this idea as the public has welcomed such an invention.