made specs and rubocop pass