Working on Problem 5
ignore this