add unspent handler