investment logic