Wrote a new deposit algorithm, not very good