writing a solution for UK and US part 2