Time value of money: how does it work?