edit: ruby style with rubocop