changes to satisfy rubocop