intial solution to Problem 193