finish cash functions