added some work on ring_outcomes for prob5 on the final