should probably actually print out the answer to prob 5