Factors to consider before investing in a company