updated invest.list.logic.js