refactored and passing test for one opinion