add devise-cash from previous works
working on cpu