better ruby example on the first pst