Solved reddit challenge #130