better ruby style