added some functionality and commented out code which trusts rubocop to do the right thing on autocorrects