what to know before investing property