Text this: Costs and rewards in priced timed automata