everything's easier in ruby