things to consider before investing