more practice with ruby