vm_coin almost working, todo calculating change