this is duplicating code. why not do this in the `dollarsToCents` function?