completed 20 in ruby