added ruby for prob1