updated styiling using rubocop and the start of help from Al