I think I got everything correct but I don’t know how to convert an int to a double for the second part of the challenge. I know I need to divide subtotal by the int numPeople, but don’t know how to go about it. Any advice?

Here is the code that I have already.

```
//Challenge 1
struct TaxCalculator
{
private let tax = 0.10
func totalWithTax(amount:Double) -> Double
{
return amount + (amount * tax)
}
}
//Challenge 2
struct BillSplitter
{
func splitBy(subtotal:Double, numPeople:Int) -> Double
{
let total = TaxCalculator().totalWithTax(amount: subtotal)
return (total / numPeople)
}
}
//Challenge 3
let start = BillSplitter()
print(start.splitBy(subtotal: 120, numPeople: 5))
```