adds new functionality for the cash input