unspent problem WIP