Rewrite to
```return Double.parseDouble(costText.substring(7)); ```