More ruby way