fixed comment, plot, and random ruby